<style>.theme-white{ background-color:#FFF;}.theme-white .tpl-form-line-form .am-form-group{ margin-bottom:30px;}</style>
<div class="widget-body">
<form class="am-form tpl-form-line-form" data-am-validator id="formDoSubmit-select" style="padding-right:15px;">
	<div class="am-form-group">
      <label class="am-u-sm-3 am-form-label">制单人：</label>
      <div class="am-u-sm-9"><input type="text" placeholder="长度不超过32" value="{{.backenduser.RealName}}"  readonly/></div>
  	</div>
	<div class="am-form-group">
      <label class="am-u-sm-3 am-form-label">供应商：</label>
      <div class="am-u-sm-9">
        <select name="suppliers" id="suppliers" data-am-selected="{searchBox: 1,maxHeight:'140px', btnWidth:'100%'}" required>
            <option value=""></option>
            {{range $k, $v := .suppliers}}
                <option value="{{$v.Id}}" data-paymethod="{{$v.PayMethod}}" data-deliverymode="{{$v.DeliveryMode}}">{{$v.Name}}</option>
            {{end}}
        </select>
      </div>
  	</div>
    <div class="am-form-group">
      <label class="am-u-sm-3 am-form-label">付款方式：</label>
      <div class="am-u-sm-9">
        <select name="PayMethod" id="paymethod" required>
            <option value=""></option>
            {{range $k, $v := .paymethod}}
                <option value="{{$k}}">{{$v}}</option>
            {{end}}
        </select>
      </div>
  	</div>
    <div class="am-form-group">
      <label class="am-u-sm-3 am-form-label">备注：</label>
      <div class="am-u-sm-9">
        <textarea name="Remarks" rows="4"></textarea>
      </div>
  	</div>

</form>
   <div style="text-align:center;"><button class="am-btn am-btn-secondary" type="submit" id="confirm">确认选择</button></div>
</div>
